You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > Disown Method > MatrixInt.Disown Method (out int[], out int, out int, out int, out TIntPrecision)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.Disown Method (out int[], out int, out int, out int, out TIntPrecision)

Disowns a pointer to an array from matrix Values1D.

Syntax
C#
Visual Basic
public void Disown(out int[] aArray, out int aIndex, out int aRows, out int aCols, out TIntPrecision aIntPrecision);

The method does the opposite of the Adopt method. It will set the AArrays to Pointer(Values), ARows and ACols to matrix's Rows and Cols and IsComplex to matrix IntPrecision property. Use the Disown method to "disconnect" AArray from the TMtx.Values1D. Disown sets Values1D and CValues1D array pointers to nil and Rows, Cols properties to ACols, but without freeing the allocated memory. The allocated memory can be disowned only, if it was adopted with a call to the Adopt method.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!